import {
  http
} from '@/utils/request.js'

// 适用门店-活动id
export const getStorelistByActivity = (data) => {
  return http.middleware({
    method: 'GET',
    url: '/store/listByActivity',
	data,
  })
}

// 门店详情
export const getStoreDetail = (params) => {
  return http.middleware({
    method: 'GET',
    url: '/store/detail',
	params,
	custom: {
		loading: true
	}
  })
}

// 意向门店
export const getLikeStoreApi = (params) => {
  return http.middleware({
    method: 'GET',
    url: '/store/likeStore',
	params,
  })
}